package com.fengyi.homefurnish.mapper;

import com.fengyi.homefurnish.pojo.ProAttrValue;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ProAttrValueMapper {

    /**
     * 根据条件分页查询属性名
     * @param offset
     * @param limit
     * @param proAttrValue
     * @return
     */
    List<ProAttrValue> getProAttrValRows(@Param("offset")Integer offset, @Param("limit")Integer limit, @Param("condition") ProAttrValue proAttrValue);

    /**
     * 条件查询总数
     * @param proAttrValue
     * @return
     */
    Integer getProAttrValTotal(@Param("condition") ProAttrValue proAttrValue);
}
